import { cloneDeep } from "@/utils/loadash-es";

export default {
  // 网络安全重点关注
  imgTableList: [
    { label: "事件名称", param: "metrics_name", width: '400' },
    { label: "级别", param: "eventLevel" },
    { label: "分类", param: "eventCategory" }, // 未改
    { label: "类型", param: "eventType" },
    { label: "处置状态", param: "disposal_status" },
    { label: "告警时间", param: "formatTime" },
  ],
  imgFormObj: {
    fieldList: [
      {
        label: "关键字",
        type: "input",
        field: "keyword",
      },
      {
        label: "发生时间",
        type: "dateRange",
        field: "time",
        span: 14,
      },
      {
        label: "级别",
        type: "select",
        field: "levelCode",
        list: "levelCodeList",
      },
      {
        label: "分类",
        type: "select",
        field: "categoryCode",
        list: "categoryCodeList",
      },
      {
        label: "类型",
        type: "select",
        field: "typeCode",
        list: "typeCodeList",
      },
      {
        label: "处置状态",
        type: "select",
        field: "disposalStatus",
        list: "protectCodeList",
      },
    ],
  },

  //  网络资产概览
  assetsFormObj: {
    fieldList: [
      {
        label: "关键字",
        type: "input",
        field: "keyWord",
      },
      {
        label: "设备状态",
        type: "select",
        field: "equipmentStatus",
        list: "equipmentStatusList",
      },
      {
        label: "使用状态",
        type: "select",
        field: "useStatus",
        list: "useStatusList",
      },
      {
        label: "涉密等级",
        type: "select",
        field: "secLevel",
        list: "secLevelList",
      },
      {
        label: "设备类型",
        type: "select",
        field: "equipmentType",
        list: "equipmentTypeList",
      },
      /*    {
             label: "在线状态",
             type: "select",
             field: "dictType",
         },*/
      /* {
                label: "防护软件部署情况",
                type: "select",
                field: "dictType",
            },*/
    ],
  },
  assetsTotal: [
    { label: "终端(台)" },
    { label: "涉密专用计算机(台)" },
    { label: "国产通用计算机(台)" },
    { label: "windows终端(台)" },
    { label: "其他类型(台)" },
  ],
  assetsTableList: [
    { label: "设备名称", param: "name", width: "200" },
    { label: "IP地址", param: "equipmentIp", width: "160" },
    { label: "MAC地址", param: "equipmentMac", width: "240" },
    { label: "责任人", param: "equipmentUserName" },
    { label: "责任部门", param: "equipmentOrgName" },
    { label: "设备类型", param: "typeName", width: "120" },
    { label: "设备状态", param: "statusName" },
    { label: "使用状态", param: "useStatusName" },
    { label: "是否国产化", param: "localizedName", width: "100" },
    { label: "涉密等级", param: "secLevelName" },
    { label: "重要程度", param: "equipmentCriticalityLevel" },
    { label: "是否关注", param: "equipmentFocusLevel" },
    { label: "用途说明", param: "equipmentPurpose" },
    { label: "存放位置", param: "equipmentStorage" },
    { label: "所在安全域", param: "equipmentDomainName", width: "100" },
    // {label: "在线状态", param: "analyseType"},
    { label: "防护软件部署情况", param: "installStateName", width: "150" },
    { label: "安全保密事件数量(条)", param: "eventNum", width: "200" },
    { label: "漏洞数量(个)", param: "vulnerabilitiesNumber", type: 'slot', width: "150" },   //  未改
    { label: "未上线天数(天)", param: "noOnlineDays", width: "150" },
  ],

  // 运维安全事件趋势  和  中间event事件总数   和    事件统计
  safeFormObj: {
    fieldList: [
      {
        label: "关键字",
        type: "input",
        field: "keyword",
      },
      {
        label: "发生时间",
        type: "select",
        field: "dictType",
      },
      {
        label: "级别",
        type: "select",
        field: "dictType",
      },
      {
        label: "分类",
        type: "select",
        field: "dictType",
      },
      {
        label: "类型",
        type: "select",
        field: "dictType",
      },
      {
        label: "处置状态",
        type: "select",
        field: "dictType",
      },
    ],
  },
  safeTableList: [
    { label: "事件名称", param: "name", width: '400' },
    { label: "级别", param: "status" },
    { label: "分类", param: "analyseType" },
    { label: "类型", param: "analyseType" },
    { label: "处置状态", param: "analyseType" },
    { label: "告警时间", param: "analyseType" },
  ],
  //  保密监管概览
  /*   secrecyFormObj:{
        fieldList: [
            {
                label: "关键字",
                type: "input",
                field: "dictName",
            },
            {
                label: "级别",
                type: "select",
                field: "dictType",
            },
            {
                label: "分类",
                type: "select",
                field: "dictType",
            },
            {
                label: "类型",
                type: "select",
                field: "dictType",
            },
        ],
    },
    secrecyTableList:[
        {label: "标识符", param: "name"},
        {label: "指标名称", param: "status"},
        {label: "级别", param: "analyseType"},
        {label: "分类", param: "analyseType"},
        {label: "类型", param: "analyseType"},
        {label: "分保保护要求类被", param: "analyseType"},
        {label: "是否一票否决项", param: "name"},
        {label: "创建时间", param: "status"},
    ],*/
  //    监管指标
  regulatoryTableList: [
    // {label: "标识符", param: "metrics_name"},
    { label: "指标名称", param: "metricsName", width: '400' },
    { label: "级别", param: "levelName", width: 140 },
    { label: "分类", param: "categoryName" },
    { label: "类型", param: "typeName" },
    { label: "分保保护要求大类", param: "protectName" },
    { label: "分保技术要求小类", param: "protectSubName" },
    { label: "是否一票否决项", param: "isVeto" },
    { label: "创建时间", param: "createDate", width: 200 },
  ],
  regulatoryIndicatorsFormObj: {
    fieldList: [
      {
        label: "关键字",
        type: "input",
        field: "keyword",
      },
      {
        label: "级别",
        type: "select",
        field: "levelCode",
        list: "levelCodeList",
      },
      {
        label: "分类",
        type: "select",
        field: "categoryCode",
        list: "categoryCodeList",
      },
      {
        label: "类型",
        type: "select",
        field: "typeCode",
        list: "typeCodeList",
      },
    ],
  },
  //    行为标签
  behaviorTableList: [
    { label: "标签名称", param: "name", width: "500" },
    { label: "分类", param: "entityType", type: 'slot' },
    // {label: "类型", param: "ruleType"},
    { label: "分析方式", param: "analyseType", type: "slot" },
    { label: "状态", param: "status", type: "slot" },
    { label: "创建时间", param: "createTime" },
  ],
  behaviorFormObj: {
    fieldList: [
      {
        label: "关键字",
        type: "input",
        field: "keyword",
      },
    ],
  },
};
